home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 138 / 138.xpi / chrome / stumbleupon.jar / content / preferenceDialog.xul < prev    next >
Extensible Markup Language  |  2010-01-26  |  20KB  |  679 lines

  1. <?xml version="1.0"?>
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  4. <?xml-stylesheet href="chrome://stumbleupon/content/skin/preferenceDialog.css" type="text/css"?>
  5.  
  6. <!DOCTYPE window SYSTEM "chrome://stumbleupon/locale/stumbleupon.dtd" >
  7.  
  8. <dialog id="stumble_pref_dialog" title="StumbleUpon Toolbar Options"
  9.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  10.   buttons="accept,cancel"
  11.   ondialogaccept="return doOK();"
  12.   ondialogcancel="return doCancel();"
  13.   onload="init()">
  14.  
  15. <stringbundleset id="stringbundleset">
  16.     <stringbundle id="bundle_stumble" src="chrome://stumbleupon/locale/stumbleupon.properties"/>
  17. </stringbundleset>
  18.  
  19. <script type="application/x-javascript" src="preferenceDialog.js"/>
  20.  
  21. <deck id="prefs_deck">
  22.  
  23. <tabbox id="prefs_tabbox">
  24. <tabs>
  25.     <tab id="appearance_tab"
  26.         label="Appearance"/>
  27.     <tab id="search_tab"
  28.         label="Search & Tagging"/>
  29.     <tab id="other_tab"
  30.         label="Configuration"/>
  31.     <tab id="shortcuts_tab"
  32.         label="Shortcuts"/>
  33. </tabs>
  34. <tabpanels>
  35. <tabpanel id="appearance_panel"
  36.     orient="vertical">
  37.     <groupbox id="placement">
  38.         <caption id="placement-toolkit-caption" 
  39.             label="Position and Toggle Button"/>
  40.         <caption id="placement-caption"
  41.             label="Toolbar Position"
  42.             hidden="true"/>
  43.         <grid id="customize-position-box">
  44.             <columns>
  45.                 <column/>
  46.                 <column flex="1"/>
  47.                 <column/>
  48.             </columns>
  49.             <rows>
  50.                 <row>
  51.                     <vbox>
  52.                         <spacer flex="1"/>
  53.                         <button id="customize-position"
  54.                             label="Drag to Position... "
  55.                             oncommand="handle_customize_position_command();"/>
  56.                         <spacer flex="1"/>
  57.                     </vbox>
  58.                     <spacer/>
  59.                     <checkbox id="toggle"
  60.                         src="chrome://stumbleupon/content/skin/toggle_preview.png"/>
  61.                 </row>
  62.                 <row>
  63.                     <spacer/>
  64.                     <spacer flex="1"/>
  65.                     <hbox>
  66.                         <spacer width="20px"/>
  67.                         <label value="Show toggle button"
  68.                             control="toggle"
  69.                             style="color:grey;"
  70.                             onclick="handle_toggle_label_click();"/>
  71.                     </hbox>
  72.                 </row>
  73.                 <row>
  74.                     <label value="More position options:"/>
  75.                     <spacer/>
  76.                     <spacer/>
  77.                 </row>
  78.             </rows>
  79.         </grid>
  80.         <hbox id="placement-box"
  81.             align="center"
  82.             flex="1">
  83.             <menulist id="toolbar-position"
  84.             flex="1"
  85.             oncommand="handle_toolbar_position_command(event.target.id);">
  86.             <menupopup id="placement-popup"/>
  87.             </menulist>
  88.         </hbox>
  89.         <hbox align="center" flex="1">
  90.             <radiogroup id="position-group"
  91.                 flex="1"
  92.                 orient="horizontal" 
  93.                 oncommand="handle_position_group_command(event.target.id);">
  94.                 <radio id="drop" hidden="true"/>
  95.                 <spacer flex="1"/>
  96.                 <radio id="first" label="First"/>
  97.                 <spacer flex="4"/>
  98.                 <radio id="last" label="Last"/>
  99.                 <spacer flex="1"/>
  100.             </radiogroup>
  101.         </hbox>
  102.     </groupbox>
  103.     <hbox>
  104.         <groupbox flex="1">
  105.             <caption label="Controls"/>
  106.             <radiogroup orient="vertical" id="text-group" flex="1">
  107.                 <hbox align="center" flex="1">
  108.                         <radio id="text-icons" label="Text and icons"
  109.                             oncommand="update_firstrater_label_enabled_state();"/>
  110.                         <radio id="icons-only" label="Icons only"
  111.                             oncommand="update_firstrater_label_enabled_state();"/>
  112.                     <spacer flex="1"/>
  113.                 </hbox>
  114.                 <hbox align="start" flex="1">
  115.                     <vbox align="start">
  116.                         <hbox align="start">
  117.                             <checkbox id="show_mode"
  118.                                 label="Channels"
  119.                                 oncommand="update_mode_enabled_state();"/>
  120.                         </hbox>
  121.                         <hbox align="start">
  122.                             <checkbox id="show_topics"
  123.                                 label="Channel menu"/>
  124.                         </hbox>
  125.                         <hbox align="start">
  126.                             <checkbox id="show_tag"
  127.                                 label="Tag"
  128.                                 oncommand="handle_show_tag_command()"
  129.                                 src="chrome://stumbleupon/content/skin/icon_tb_tag_left.png"/>
  130.                         </hbox>
  131.                         <hbox align="start">
  132.                             <checkbox id="show_referral"
  133.                                 label="Share"
  134.                                  src="chrome://stumbleupon/content/skin/icon_tb_share.png"/>
  135.                         </hbox>
  136.                         <hbox align="start">
  137.                             <checkbox id="show_info"
  138.                                 label="Info"
  139.                                 src="chrome://stumbleupon/content/skin/bubble.png"/>
  140.                         </hbox>
  141.                         <hbox align="start">
  142.                             <checkbox id="show_aboutme"
  143.                                 label="What's New"
  144.                                  src="chrome://stumbleupon/content/skin/icon_tb_user_comment.png"/>
  145.                         </hbox>
  146.                         <hbox align="start">
  147.                             <checkbox id="show_home"
  148.                                 label="Favorites"
  149.                                 src="chrome://stumbleupon/content/skin/icon_tb_favorites_hover.png"/>
  150.                         </hbox>
  151.                     </vbox>
  152.                     <vbox align="start">
  153.                         <hbox align="start">
  154.                             <checkbox id="show_friends"
  155.                                 label="Stumblers"
  156.                                 src="chrome://stumbleupon/content/skin/friend.png"/>
  157.                         </hbox>
  158.                         <hbox align="start">
  159.                             <checkbox id="show_messages"
  160.                                 label="Inbox"
  161.                                  src="chrome://stumbleupon/content/skin/mail2.png"/>
  162.                         </hbox>
  163. <!--
  164.                         <hbox align="start">
  165.                             <checkbox id="show_mystumblers"
  166.                                 label="Network"
  167.                                 src="chrome://stumbleupon/content/skin/stumblers.png"/>
  168.                         </hbox>
  169. -->
  170. <!--
  171.                         <hbox align="start">
  172.                             <checkbox id="show_forums"
  173.                                 label="Forum"
  174.                                 src="chrome://stumbleupon/content/skin/forum.png"/>
  175.                         </hbox>
  176. -->
  177.                         <hbox align="start">
  178.                             <checkbox id="show_groups"
  179.                                 label="Groups"
  180.                                 src="chrome://stumbleupon/content/skin/forum.png"/>
  181.                         </hbox>
  182.                         <hbox align="start">
  183.                             <checkbox id="show_matches"
  184.                                 label="People"
  185.                                 src="chrome://stumbleupon/content/skin/icon_tb_search_user.png"/>
  186.                         </hbox>
  187. <!--
  188.                         <hbox id="show_flag_box"
  189.                             hidden="true"
  190.                             align="start">
  191.                             <checkbox id="show_flag"
  192.                                 label="Report"
  193.                                 src="chrome://stumbleupon/content/skin/icon_tb_flag_blue.png"/>
  194.                         </hbox>
  195. -->
  196.                         <hbox align="start">
  197.                             <checkbox id="stumble_topics"
  198.                                 label="Topic"
  199.                                 oncommand="handle_stumble_topics_command()"/>
  200.                         </hbox>
  201.                         <hbox align="start">
  202.                             <checkbox id="show_firstrater_label_always"
  203.                                 label="Suggester"
  204.                                 tooltiptext="Specifies whether the suggester's nickname is displayed in 'Icons only' mode"/>
  205.                         </hbox>
  206.                     </vbox>
  207.                 </hbox>
  208.             </radiogroup>
  209.         </groupbox>
  210.         <groupbox>
  211.             <caption label="Channels"/>
  212. <!--
  213.             <hbox align="start">
  214.                 <checkbox id="show_mode_all"
  215.                     label="All"
  216.                     src="chrome://stumbleupon/content/skin/all.png"/>
  217.             </hbox>
  218. -->
  219.             <hbox align="start">
  220.                 <checkbox id="show_mode_friends"
  221.                     label="Subscriptions"
  222.                     src="chrome://stumbleupon/content/skin/icon_tb_people.png"/>
  223.             </hbox>
  224.             <hbox align="start">
  225.                 <checkbox id="show_mode_photo"
  226.                     label="Photos"
  227.                     src="chrome://stumbleupon/content/skin/icon_tb_photo_hover.png"/>
  228.             </hbox>
  229.             <hbox align="start">
  230.                 <checkbox id="show_mode_video"
  231.                     label="Video"
  232.                     src="chrome://stumbleupon/content/skin/video.png"/>
  233.             </hbox>
  234.             <hbox align="start">
  235.                 <checkbox id="show_mode_stumblers"
  236.                     label="Profiles"
  237.                     src="chrome://stumbleupon/content/skin/stumblers.png"/>
  238.             </hbox>
  239.             <hbox align="start">
  240.                 <checkbox id="show_mode_search"
  241.                     label="Search"
  242.                     src="chrome://stumbleupon/content/skin/search.png"/>
  243.             </hbox>
  244.             <hbox align="start">
  245.                 <checkbox id="show_mode_news"
  246.                     label="News"
  247.                     src="chrome://stumbleupon/content/skin/icon_tb_news.png"/>
  248.             </hbox>
  249.             <hbox align="start">
  250.                 <checkbox id="show_mode_wiki"
  251.                     label="Wikipedia"
  252.                     src="chrome://stumbleupon/content/skin/wiki.png"/>
  253.             </hbox>
  254. <!--
  255.             <button id="show_mode_more"
  256.                 flex="1"
  257.                 label="More..."
  258.                 oncommand="handle_more_mode_command();"/>
  259. -->
  260.             <hbox>
  261.                 <checkbox id="show_mode_more"/>
  262.                 <button id="show_mode_more_button"
  263.                     flex="1"
  264.                     label="More..."
  265.                     oncommand="handle_more_mode_command();"/>
  266.             </hbox>
  267.         </groupbox>
  268.     </hbox>
  269. </tabpanel>
  270. <tabpanel id="search_panel"
  271.     orient="vertical">
  272.     <groupbox id="searchlinks">
  273.         <caption>
  274.             <label style="margin-left: 0; margin-right: 5px;" value="Web Search  -"/>
  275.             <vbox>
  276.                 <spacer flex="1"/>
  277.                 <hbox>
  278.                     <image class="searchlinks-service-icon" src="chrome://stumbleupon/content/skin/favicon_google.png"/>
  279.                     <image class="searchlinks-service-icon" src="chrome://stumbleupon/content/skin/favicon_yahoo.png"/>
  280.                     <image class="searchlinks-service-icon" src="chrome://stumbleupon/content/skin/favicon_ask.png"/>
  281.                     <image class="searchlinks-service-icon" src="chrome://stumbleupon/content/skin/favicon_aol.png"/>
  282.                     <image class="searchlinks-service-icon" src="chrome://stumbleupon/content/skin/favicon_mslive.png"/>
  283.                 </hbox>
  284.                 <spacer flex="1"/>
  285.             </vbox>
  286.         </caption>
  287.         <hbox align="start">
  288.             <checkbox id="show_searchlinks_score"
  289.                 label="Highlight recommended search results"
  290.                 oncommand="su_update_searchlinks_logo_enabled_state();"/>
  291.         </hbox>
  292.         <hbox>
  293.             <spacer width="19px"/>
  294.             <label style="margin-right: 0; color: #505050;" value="Google, Yahoo!, Ask, AOL, Bing"/>
  295. <!--
  296.             <label style="margin-left: 3px; color: #505050; vertical-align: super; font-size: 70%;" value="*"/>
  297. -->
  298.         </hbox>
  299.         <hbox id="show_searchlinks_friends_box"
  300.             align="start"
  301.             hidden="true">
  302.             <checkbox id="show_searchlinks_friends"
  303.                 label="Show names of friends who like search results"
  304.                 oncommand="su_update_searchlinks_logo_enabled_state();"/>
  305.         </hbox>
  306.         <hbox align="start">
  307.             <checkbox id="show_searchlinks_topic"
  308.                 label="Show topics of search results"
  309.                 oncommand="su_update_searchlinks_logo_enabled_state();"/>
  310.         </hbox>
  311.         <hbox align="start">
  312.             <checkbox id="show_searchlinks_logo"
  313.                 label="Show StumbleUpon logo on recommended results" />
  314.         </hbox>
  315.     </groupbox>
  316.     <groupbox id="favs_box"
  317.         hidden="true">
  318.         <caption label="Bookmark Upon Rate or Tag"/>
  319.         <hbox align="start">
  320.             <checkbox id="sync_bm_meta"
  321.                 label="Save favorites & tags to a Firefox bookmark folder"
  322.                 oncommand="update_download_favs_enabled_state()"/>
  323.         </hbox>
  324.         <hbox>
  325.             <spacer width="19px"/>
  326.             <label style="margin-right: 0; color: #505050;" value="Enables searching favorites and tags via the url bar"/>
  327.         </hbox>
  328.         <hbox>
  329.             <spacer width="19px"/>
  330.             <vbox>
  331.                 <hbox>
  332.                     <button id="download_start"
  333.                         label="Download Favorites"
  334.                         style="padding-left: 5px; padding-right: 5px;"
  335.                         disabled="true"
  336.                         oncommand="handle_download_favs_command()"/>
  337.                     <button id="download_stop"
  338.                         label="Stop Download"
  339.                         style="padding-left: 5px; padding-right: 5px;"
  340.                         disabled="true"
  341.                         oncommand="handle_stop_download_favs_command()"/>
  342.                 </hbox>
  343.                 <progressmeter id="download_progress"
  344.                     hidden="false"
  345.                     flex="1"
  346.                     value="0"
  347.                     mode="determined"
  348.                     height="20px"/>
  349.             </vbox>
  350.         </hbox>
  351.         <hbox align="start">
  352.             <spacer width="19px"/>
  353.             <checkbox id="sync_bm_exclude_adult"
  354.                 label="Exclude mature content"
  355.                 disabled="true"/>
  356.         </hbox>
  357.     </groupbox>    
  358.     <groupbox>
  359.         <caption label="Tagging & Search-By-Stumble"/>
  360.         <hbox align="start">
  361.             <checkbox id="show_tag2"
  362.                 label="Show tag button"
  363.                 src="chrome://stumbleupon/content/skin/icon_tb_tag_left.png"
  364.                 oncommand="handle_show_tag2_command()"/>
  365.         </hbox>
  366.         <hbox align="start">
  367.             <checkbox id="show_field"
  368.                 label="Show search / tag box (tag via Shift+Enter)"/>
  369.         </hbox>
  370.         <hbox align="start">
  371.             <checkbox id="search_clear_queries" label="Clear search history upon exit" />
  372.         </hbox>
  373.     </groupbox>
  374. </tabpanel>
  375. <tabpanel id="other_panel"
  376.     orient="vertical">
  377.     <groupbox>
  378.         <caption label="&caption.stumblerate;"/>
  379.         <hbox align="start" pack="center">
  380.             <checkbox id="great-stumble"
  381.                 label="&button.stumbleilikeit;"
  382.                 width="110px"
  383.                 src="chrome://stumbleupon/content/skin/thumbup.png"/>
  384.             <checkbox id="bad-stumble"
  385.                 label="&button.stumblenotforme;"
  386.                 width="110px"
  387.                 src="chrome://stumbleupon/content/skin/thumbdown.png"/>
  388.         </hbox>
  389.     </groupbox>
  390.     <groupbox>
  391.         <caption label="&caption.other;"/>
  392.         
  393.         <!--
  394.         <hbox align="start">
  395.             <checkbox id="comment_firstrating" label="&button.commentfirstrating;" />
  396.         </hbox>
  397.         -->   
  398.         <hbox align="start">
  399.             <checkbox id="review_new_window" label="Show page review in new tab" />
  400.         </hbox>
  401.         <hbox align="start">
  402.             <checkbox id="rate_new_window" label="Show page review after rating" />
  403.         </hbox>
  404.         <!--
  405.         <hbox align="start">
  406.             <checkbox id="search_new_window" label="Show first search stumble in new tab" />
  407.         </hbox>
  408.         -->
  409.         <!--
  410.         <hbox align="start">
  411.             <checkbox id="search_plugin" label="&button.searchplugin;" />
  412.         </hbox>
  413.         -->
  414.         <hbox align="start">
  415.             <checkbox id="stumble_upon_change" label="Stumble upon changing channel" />
  416.         </hbox>
  417.         <hbox align="start">
  418.             <checkbox id="prefetch" label="Prefetch stumbles (makes stumbling faster)" />
  419.         </hbox>
  420. <!--
  421.         <hbox align="start">
  422.             <checkbox id="stumble_topics" label="Show topic for stumble" />
  423.         </hbox>
  424. -->
  425. <!--
  426.         <hbox>
  427.             <spacer width="20px"/>
  428.             <vbox>        
  429.                 <label id="search_group_prompt"
  430.                     value="Auto-complete search / tag box with:" />
  431.                 <hbox align="start">
  432.                     <radiogroup orient="horizontal" id="search_group">
  433.                         <radio id="search_group_query" label="Search terms" value="query"/>
  434.                         <radio id="search_group_tag" label="&radio.tags;" value="tag"/>
  435.                     </radiogroup>
  436.                 </hbox>
  437.             </vbox>
  438.         </hbox>
  439. -->
  440. <!--
  441.         <hbox align="start">
  442.             <checkbox id="show_firstrater_label_always" label="In icons-only mode, show suggester nickname" />
  443.         </hbox>
  444. -->
  445. <!--
  446.         <hbox align="start">
  447.             <checkbox id="show_legacy_network"
  448.                 src="chrome://stumbleupon/content/skin/stumblers.png"
  449.                 label="Show classic Network control" />
  450.         </hbox>
  451. -->
  452. <!--
  453.         <hbox align="start">
  454.             <checkbox id="show_legacy_forums"
  455.                 src="chrome://stumbleupon/content/skin/legacy_forum.png"
  456.                 label="Show classic Forums control"/>
  457.         </hbox>
  458. -->
  459.         <hbox>
  460.             <vbox>
  461.                 <spacer flex="1"/>
  462.                 <checkbox id="stumble_topics2"
  463.                     oncommand="handle_stumble_topics2_command()"
  464.                     label="Show topic as"/>
  465.                 <spacer flex="1"/>
  466.             </vbox>
  467.             <menulist id="stumble_topics2_style_menu">
  468.                 <menupopup id="stumble_topics2_style">
  469.                     <menuitem label="reporting menu near mode menu" value="0"/>
  470.                     <menuitem label="reporting menu" value="1"/>
  471.                     <menuitem label="button" value="2"/>
  472.                 </menupopup>
  473.             </menulist>
  474.         </hbox>
  475.     </groupbox>
  476. <!--
  477.     <spacer flex="1"/>
  478.     <hbox>
  479.         <spacer flex="1"/>
  480.         <label style="color: grey; font-size:70%" value="* StumbleUpon SearchLinks is not affiliated with these services"/>
  481.     </hbox>
  482. -->
  483. </tabpanel>
  484. <tabpanel id="shortcuts_panel"
  485.     orient="vertical">
  486.   <groupbox orient="vertical">
  487.     <caption label="Keyboard Shortcuts"/>
  488.         <hbox align="start">
  489.             <checkbox id="shortcuts-enable"
  490.                 label="Enable stumbling shortcuts"
  491.                 oncommand="handle_shortcuts_enable_command(event.target.checked);"/>
  492.         </hbox>
  493.         <listbox id="shortcuts"
  494.             rows="6"
  495.             onselect="handle_shortcuts_select(event);"
  496.             onkeypress="return handle_shortcuts_keypress(event);"
  497.             onkeyup="return handle_shortcuts_keyup(event);">
  498.             <listhead>
  499.                 <listheader/>
  500.                 <listheader label="Function"/>
  501.                 <listheader label="Shortcut" flex="1"/>
  502.             </listhead>
  503.             <listcols>
  504.                 <listcol/>
  505.                 <listcol/>
  506.                 <listcol flex="1"/>
  507.             </listcols>
  508.             <listitem id="shortcut_stumble_item">
  509.                 <listcell>
  510.                     <spacer width="3px"/>
  511.                     <vbox>
  512.                         <spacer height="3px"/>
  513.                         <image id="shortcut_stumble_icon"
  514.                             src="chrome://stumbleupon/content/skin/stumble.png"/>
  515.                         <spacer height="3px"/>
  516.                     </vbox>
  517.                     <spacer width="3px"/>
  518.                 </listcell>
  519.                 <listcell>
  520.                     <label id="shortcut_stumble_label"
  521.                             value=" Stumble!" align="baseline"/>
  522.                 </listcell>
  523.                 <listcell id="shortcut_stumble"/>
  524.             </listitem>
  525.             <listitem id="shortcut_thumbup_item">
  526.                 <listcell>
  527.                     <spacer width="3px"/>
  528.                     <image id="shortcut_thumbup_icon"
  529.                              src="chrome://stumbleupon/content/skin/thumbup.png"/>
  530.                     <spacer width="3px"/>
  531.                 </listcell>
  532.                 <listcell>
  533.                     <label id="shortcut_thumbup_label"
  534.                             value=' Rate "I like it!"' align="baseline"/>
  535.                 </listcell>
  536.                 <listcell id="shortcut_thumbup"/>
  537.             </listitem>
  538.             <listitem id="shortcut_thumbdown_item">
  539.                 <listcell>
  540.                     <spacer width="3px"/>
  541.                     <image  id="shortcut_thumbdown_icon"
  542.                             src="chrome://stumbleupon/content/skin/thumbdown.png"/>
  543.                     <spacer width="3px"/>
  544.                 </listcell>
  545.                 <listcell>
  546.                     <label id="shortcut_thumbdown_label"
  547.                             value=' Rate "Not-for-me"' align="baseline"/>
  548.                 </listcell>
  549.                 <listcell id="shortcut_thumbdown"/>
  550.             </listitem>
  551.             <listitem id="shortcut_tag_item">
  552.                 <listcell>
  553.                     <spacer width="3px"/>
  554.                     <image id="shortcut_tag_icon"
  555.                             src="chrome://stumbleupon/content/skin/icon_tb_tag_left.png"/>
  556.                     <spacer width="3px"/>
  557.                 </listcell>
  558.                 <listcell>
  559.                     <label id="shortcut_tag_label"
  560.                             value=" Tag / Untag" align="baseline"/>
  561.                 </listcell>
  562.                 <listcell id="shortcut_tag"/>
  563.             </listitem>
  564.             <listitem id="shortcut_reviews_item">
  565.                 <listcell>
  566.                     <spacer width="3px"/>
  567.                     <image id="shortcut_reviews_icon"
  568.                             src="chrome://stumbleupon/content/skin/bubble.png"/>
  569.                     <spacer width="3px"/>
  570.                 </listcell>
  571.                 <listcell>
  572.                     <label id="shortcut_reviews_label"
  573.                             value=" View Reviews" align="baseline"/>
  574.                 </listcell>
  575.                 <listcell id="shortcut_reviews"/>
  576.             </listitem>
  577. <!--
  578.             <listitem  id="shortcut_details_item"
  579.                 tooltiptext="prompts for tags and/or review; has no equivalent button">
  580.                 <listcell>
  581.                     <spacer width="3px"/>
  582.                     <image  id="shortcut_details_icon"
  583.                             src="chrome://stumbleupon/content/skin/thumbupcomment.png"/>
  584.                     <spacer width="3px"/>
  585.                 </listcell>
  586.                 <listcell>
  587.                     <label id="shortcut_details_label"
  588.                             value=' Rate with Details' align="baseline"/>
  589.                 </listcell>
  590.                 <listcell id="shortcut_details"/>
  591.             </listitem>
  592. -->
  593.             <listitem>
  594.                 <listcell/>
  595.                 <listcell>
  596.                     <label value=' Toggle Toolbar' align="baseline"/>
  597.                 </listcell>
  598.                 <listcell id="shortcut_toolbar"/>
  599.             </listitem>
  600.         </listbox>
  601.         <grid>
  602.             <columns>
  603.                 <column/>
  604.                 <column flex="1"/>
  605.             </columns>
  606.             <rows>
  607.                 <row>
  608.                     <vbox align="right">
  609.                         <spacer flex="1"/>
  610.                         <label value="Press new shortcut key:"/>
  611.                         <spacer flex="1"/>
  612.                     </vbox>
  613.                     <vbox flex="1">
  614.                         <spacer flex="1"/>
  615.                         <textbox id="shortcut_preview"
  616.                             onkeypress="return handle_shortcut_preview_keypress(event);"
  617.                             onkeyup="return handle_shortcut_preview_keyup(event);"
  618.                             disabled="true"/>
  619.                         <spacer flex="1"/>
  620.                     </vbox>
  621.                 </row>
  622.                 <row>
  623.                     <vbox align="right">
  624.                         <spacer flex="1"/>
  625.                         <label value="Otherwise assigned to:"/>
  626.                         <spacer flex="1"/>
  627.                     </vbox>
  628.                     <vbox flex="1">
  629.                         <spacer flex="1"/>
  630.                         <textbox id="shortcut_default_behavior"
  631.                             readonly="true"/>
  632.                         <spacer flex="1"/>
  633.                     </vbox>
  634.                 </row>
  635.             </rows>
  636.         </grid>
  637.         <hbox>
  638.             <spacer flex="1"/>
  639.             <button id="shortcut_disable"
  640.                 label="Disable"
  641.                 disabled="true"
  642.                 oncommand="handle_shortcut_disable_command()"/>
  643.             <button id="shortcut_revert"
  644.                 label="Revert" 
  645.                 disabled="true"
  646.                 oncommand="handle_shortcut_revert_command()"/>
  647.             <button id="shortcut_change"
  648.                 label="Change"
  649.                 disabled="true"
  650.                 oncommand="handle_shortcut_change_command()"/>
  651.         </hbox>
  652.     </groupbox>
  653.     <spacer flex="1"/>
  654. </tabpanel>
  655. </tabpanels>
  656. </tabbox>
  657. <groupbox id="prefs_signin" orient="vertical">
  658.     <caption label="Sign-in To Set Preferences"/>
  659.     <spacer flex="1"/>
  660.     <hbox pack="center">
  661.         <button label="Sign-in..."
  662.             width="170"
  663.             oncommand="handle_signin_command()"/>
  664.     </hbox>
  665.     <spacer height="20"/>
  666.     <hbox pack="center">
  667.         <label value="or"/>
  668.     </hbox>
  669.     <spacer height="20"/>
  670.     <hbox pack="center">
  671.         <button label="Create an account..."
  672.             width="170"
  673.             oncommand="handle_create_account_command()"/>
  674.     </hbox>
  675.     <spacer flex="3"/>
  676. </groupbox>
  677. </deck>
  678. </dialog>
  679.